import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Array {
    public static void main2(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(2);
        for (int i = 0; i < 10; i++) {
            list.add(i);
        }
        int[] a={1,2,3,4};
        List<int[]> list2 = Arrays.asList(a);
        Arrays.stream(a)
                .filter(n->n%2==0)
                .forEach(System.out::println);
    }

    public static void main(String[] args) {
        Double[] nums = {};
        double[] num2 = {};
    }
}
